﻿using System;

namespace AutoDb {
	/// <summary>
	/// 
	/// </summary>
	interface ILogWriter {
		/// <summary>
		/// 
		/// </summary>
		LogLevel Level { get; set; }

		/// <summary>
		/// 
		/// </summary>
		/// <param name="level"></param>
		/// <param name="s"></param>
		void Write(LogLevel level, string s);

		/// <summary>
		/// 
		/// </summary>
		/// <param name="level"></param>
		/// <param name="s"></param>
		void WriteLine(LogLevel level);

		/// <summary>
		/// 
		/// </summary>
		void Close();
	} // end of ILog.
}
